﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace QL_DTTN.KQT
{
    public partial class rptLichThi : DevExpress.XtraReports.UI.XtraReport
    {
        public rptLichThi()
        {
            InitializeComponent();
        }
        public void BindData()
        {
            colsoBaoDanh.DataBindings.Add("Text", DataSource, "soBaoDanh");
            colHoTen.DataBindings.Add("Text", DataSource, "hoTen");
            colmaKyThi.DataBindings.Add("Text", DataSource, "tenKyThi");
            colmaPhongThi.DataBindings.Add("Text", DataSource, "TenPhongThi");
            colDiemThi.DataBindings.Add("Text", DataSource, "TenDiemThi");
            colDiaChi.DataBindings.Add("Text", DataSource, "diaChi");
            colmaMonThi.DataBindings.Add("Text", DataSource, "tenMon");
            
        }
        public void SetTieuDe(string tieuDe)
        {
            xlblTieuDe.Text = tieuDe;
        }   
    }
}
